\section{fmmu\+\_\+config.\+c File Reference}
\label{fmmu__config_8c}\index{fmmu\+\_\+config.\+c@{fmmu\+\_\+config.\+c}}


Ether\+C\+AT F\+M\+MU configuration methods.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+init} (\textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+t} $\ast$fmmu, \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$sc, \textbf{ ec\+\_\+domain\+\_\+t} $\ast$domain, uint8\+\_\+t sync\+\_\+index, \textbf{ ec\+\_\+direction\+\_\+t} dir)
\begin{DoxyCompactList}\small\item\em F\+M\+MU configuration constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+page} (const \textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+t} $\ast$fmmu, const \textbf{ ec\+\_\+sync\+\_\+t} $\ast$sync, uint8\+\_\+t $\ast$data)
\begin{DoxyCompactList}\small\item\em Initializes an F\+M\+MU configuration page. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT F\+M\+MU configuration methods. 



\subsection{Function Documentation}
\mbox{\label{fmmu__config_8c_abb64d16f6f17f6bd506fafefedad65ff}} 
\index{fmmu\+\_\+config.\+c@{fmmu\+\_\+config.\+c}!ec\+\_\+fmmu\+\_\+config\+\_\+init@{ec\+\_\+fmmu\+\_\+config\+\_\+init}}
\index{ec\+\_\+fmmu\+\_\+config\+\_\+init@{ec\+\_\+fmmu\+\_\+config\+\_\+init}!fmmu\+\_\+config.\+c@{fmmu\+\_\+config.\+c}}
\subsubsection{ec\+\_\+fmmu\+\_\+config\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+fmmu\+\_\+config\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+t} $\ast$}]{fmmu,  }\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{\textbf{ ec\+\_\+domain\+\_\+t} $\ast$}]{domain,  }\item[{uint8\+\_\+t}]{sync\+\_\+index,  }\item[{\textbf{ ec\+\_\+direction\+\_\+t}}]{dir }\end{DoxyParamCaption})}



F\+M\+MU configuration constructor. 

Inits an F\+M\+MU configuration, sets the logical start address and adds the process data size for the mapped P\+D\+Os of the given direction to the domain data size. 
\begin{DoxyParams}{Parameters}
{\em fmmu} & Ether\+C\+AT F\+M\+MU configuration. \\
\hline
{\em sc} & Ether\+C\+AT slave configuration. \\
\hline
{\em domain} & Ether\+C\+AT domain. \\
\hline
{\em sync\+\_\+index} & Sync manager index to use. \\
\hline
{\em dir} & P\+DO direction. \\
\hline
\end{DoxyParams}


Definition at line 50 of file fmmu\+\_\+config.\+c.

\mbox{\label{fmmu__config_8c_a948cbd8f8d914b43dcc2a97c99507dab}} 
\index{fmmu\+\_\+config.\+c@{fmmu\+\_\+config.\+c}!ec\+\_\+fmmu\+\_\+config\+\_\+page@{ec\+\_\+fmmu\+\_\+config\+\_\+page}}
\index{ec\+\_\+fmmu\+\_\+config\+\_\+page@{ec\+\_\+fmmu\+\_\+config\+\_\+page}!fmmu\+\_\+config.\+c@{fmmu\+\_\+config.\+c}}
\subsubsection{ec\+\_\+fmmu\+\_\+config\+\_\+page()}
{\footnotesize\ttfamily void ec\+\_\+fmmu\+\_\+config\+\_\+page (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+fmmu\+\_\+config\+\_\+t} $\ast$}]{fmmu,  }\item[{const \textbf{ ec\+\_\+sync\+\_\+t} $\ast$}]{sync,  }\item[{uint8\+\_\+t $\ast$}]{data }\end{DoxyParamCaption})}



Initializes an F\+M\+MU configuration page. 

The referenced memory ({\itshape data}) must be at least E\+C\+\_\+\+F\+M\+M\+U\+\_\+\+P\+A\+G\+E\+\_\+\+S\+I\+ZE bytes. 
\begin{DoxyParams}{Parameters}
{\em fmmu} & Ether\+C\+AT F\+M\+MU configuration. \\
\hline
{\em sync} & Sync manager. \\
\hline
{\em data} & \begin{quote}
Configuration page memory. \end{quote}
\\
\hline
\end{DoxyParams}


Definition at line 76 of file fmmu\+\_\+config.\+c.

